package lab01;

public class Test07 {
    public static void main(String[] args)
    {
        char a='\0';
        System.out.println("Please input a Level(A - D)");
        try
        {
            a=(char)System.in.read();
        }catch(Exception e)
        {
            System.out.println(e);
        }
        if(a=='A')
            System.out.println("成绩范围在85~100");
        if (a=='B')
            System.out.println("成绩范围在70~85");
        if(a=='C')
            System.out.println("成绩范围在60~70");
        if(a=='D')
            System.out.println("成绩范围在60分以下");
    }
}
